﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IDML.BusinessObject;
using IDML.DataAccess;

namespace IDML.BusinessLogic
{
    public class UserBL
    {
      //  private UserBO _userBo;
        private UserDAL _userDal;

        public UserBL()
        {
            //_userBo = new UserBO();
            _userDal = new UserDAL();
        }

        public UserBO GetUser(UserBO userBo)
        {
          return  _userDal.GetUser(userBo);
        }

        public DataSet GetUserMenuList(int RoleID, bool IsMenu)
        {
            return _userDal.GetUserMenuList(RoleID, IsMenu);
        }
    }
}
